package com.zhoux;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.nio.channels.FileChannel;

public class OutTest {

	
	public static void main(String[] args) throws Exception {
		File file=new File("C:\\Users\\zhoux\\Desktop\\test.txt");
		
		String str="fhwfjosdjfklasndflkansfonqerfo";
		System.out.println(str.getBytes().length);
		FileOutputStream fileOutputStream=new FileOutputStream(file);
		FileChannel channel = fileOutputStream.getChannel();
		fileOutputStream.flush();
		System.out.println("");
		
		
		
	}
}
